﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MVC4.Models;
namespace MVC4.Controllers
{
    public class personController : Controller
    {
        //
        // GET: /person/

        public ActionResult Index()
        {
            person objPerson=new person();
            objPerson.id = 1;
            objPerson.name = "ket";
            return View(objPerson);
        }
        public ActionResult FillPerson()
        {
            return View();
        }
        public ActionResult Display()
        {
            person obj=new person();
            obj.id = Convert.ToInt16(Request.Form["cusID"]);
            obj.name = Request.Form["cusName"];
            return View(obj);
        }
    }
}
